home *** CD-ROM | disk | FTP | other *** search
/ Computer Arts: Pro Software Skills - Photoshop / Computer Arts Pro Software Skills Photoshop.iso / pc / main.swf / scripts / DefineSprite_55 / frame_1 / DoAction.as
Encoding:
Text File  |  2011-06-06  |  467 b   |  28 lines

  1. function hideItems()
  2. {
  3.    i = 0;
  4.    while(i < this.pItems.length)
  5.    {
  6.       this.pItems[i]._visible = false;
  7.       i++;
  8.    }
  9. }
  10. function showItems()
  11. {
  12.    i = 0;
  13.    while(i < this.pItems.length)
  14.    {
  15.       this.pItems[i]._visible = true;
  16.       i++;
  17.    }
  18. }
  19. stop();
  20. this.onRelease = function()
  21. {
  22.    _root.unClickMenus();
  23.    _root.openFolderButton._visible = false;
  24.    this.gotoAndStop(2);
  25.    _root.setActiveItem(this);
  26.    this.showItems();
  27. };
  28.